package org.lewis.woman.controllers;

import java.util.HashMap;
import java.util.Map;
import com.tocersoft.framework.core.annotations.Controller;
import com.tocersoft.framework.web.annotations.Mapping;
import com.tocersoft.framework.web.annotations.NameSpace;
import com.tocersoft.framework.web.renderer.Renderer;
import com.tocersoft.framework.web.renderer.TemplateRenderer;

@Controller
@NameSpace("/admin/album")
public class AlbumController {

	@Mapping("/add")
	public Renderer toAdd() throws Exception {
		Map<String, Object> model = new HashMap<String, Object>();
		return new TemplateRenderer("/WEB-INF/views/admin/album/album_add.vm", model);
	}

}
